//
//  SYDCalloutView.m
//  LantaiyuanBus
//
//  Created by lantaiyuan on 2017/2/23.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import "SYDCalloutView.h"

@implementation SYDCalloutView

@synthesize latitude;
@synthesize longitude;
@synthesize timeStr;
@synthesize locationStr;
@synthesize numberStr;
@synthesize locationInfo;

- (id)initWithLatitude:(CLLocationDegrees)lat
          andLongitude:(CLLocationDegrees)lon {
    if (self = [super init]) {
        self.latitude = lat;
        self.longitude = lon;
    }
    return self;
}

-(CLLocationCoordinate2D)coordinate{
    
    CLLocationCoordinate2D coordinate;
    coordinate.latitude = self.latitude;
    coordinate.longitude = self.longitude;
    return coordinate;
}
@end
